﻿namespace LuckyAssetManagerContrib
{
	/// <summary>
	/// Сonstants
	/// </summary>
	internal static class Constants
	{
		/// <summary>
		/// Pattern of cache item key, which stores appropriate 
		/// asset file path corresponding to current mode of web application
		/// </summary>
		internal const string AppropriateAssetFilePathCacheItemKeyPattern = "AppropriateAssetFilePath_{0}";

		/// <summary>
		/// Fake file path of combined CSS-asset 
		/// </summary>
		internal const string FakeCombinedCssAssetFilePath = "/Content/lamcontrib_combined.css";

		/// <summary>
		/// Fake file path of combined JS-asset 
		/// </summary>
		internal const string FakeCombinedJavaScriptAssetFilePath = "/Scripts/lamcontrib_combined.js";

		/// <summary>
		/// Pattern of cache item key, which stores date and time 
		/// of last modification processed asset
		/// </summary>
		internal const string ProcessedAssetLastModifyTimeCacheItemKeyPattern = "ProcessedAssetLastModifyDate_{0}";

		/// <summary>
		/// Pattern of cache item key, which stores cache item key 
		/// for latest version of text content of processed asset
		/// </summary>
		internal const string LastCacheItemKeyPattern = "LastCacheItemKey_{0}";

		/// <summary>
		/// Relative path to directory that contains file cache
		/// </summary>
		internal const string AssetFileCacheDirectoryPath = "~/App_Data/AssetFileCache/";

		/// <summary>
		/// Name of XML-file, which stores file cache registry
		/// </summary>
		internal const string AssetFileCacheRegistryFileName = "AssetFileCacheRegistry.xml";
	}
}
